const userManageRouter = {
  path: "/product",
  name: "product",
  redirect: "/product/merchandise",
  meta: {
    icon: "Avatar",
    title: "message.merchandiseManage",
    showLink: true,
    i18n: true,
    rank: 3
  },
  children: [
    {
      path: "/merchandise",
      name: "merchandise",
      meta: {
        title: "message.merchandiseInfoManage",
        i18n: true,
        showLink: true,
        realPath: "/merchandise-manage"
      }
    },
    {
      path: "/merchandiseInfo",
      name: "merchandiseInfo",
      meta: {
        title: "message.merchandiseInfo",
        i18n: true,
        showLink: false,
        realPath: "/merchandise-manage/info",
        refreshRedirect: "/merchandise"
      }
    },
    {
      path: "/merchandiseCreate",
      name: "merchandiseCreate",
      meta: {
        title: "message.merchandiseCreate",
        i18n: true,
        showLink: false,
        realPath: "/merchandise-manage/create",
        refreshRedirect: "/merchandise"
      }
    },
    {
      path: "/merchandiseUpdate",
      name: "merchandiseUpdate",
      meta: {
        title: "message.merchandiseUpdate",
        i18n: true,
        showLink: false,
        realPath: "/merchandise-manage/update",
        refreshRedirect: "/merchandise"
      }
    },
    {
      path: "/merchandiseSub",
      name: "merchandiseSub",
      meta: {
        title: "message.merchandiseSub",
        i18n: true,
        showLink: false,
        realPath: "/merchandise-manage/sub",
        refreshRedirect: "/merchandise"
      }
    },
    {
      path: "/order/list",
      name: "orderList",
      meta: {
        title: "message.orderList",
        i18n: true,
        showLink: true,
        realPath: "/order"
      }
    },
    {
      path: "/order/info",
      name: "orderInfo",
      meta: {
        title: "message.orderInfo",
        i18n: true,
        showLink: false,
        realPath: "/order/info",
        refreshRedirect: "/order/list"
      }
    },
    {
      path: "/banner/list",
      name: "bannerList",
      meta: {
        title: "message.bannerList",
        i18n: true,
        showLink: true,
        realPath: "/banner"
      }
    },
    {
      path: "/banner/info",
      name: "bannerInfo",
      meta: {
        title: "message.bannerInfo",
        i18n: true,
        showLink: false,
        realPath: "/banner/info",
        refreshRedirect: "/banner/list"
      }
    },
    {
      path: "/banner/create",
      name: "bannerCreate",
      meta: {
        title: "message.bannerCreate",
        i18n: true,
        showLink: false,
        realPath: "/banner/create",
        refreshRedirect: "/banner/list"
      }
    },
    {
      path: "/banner/edit",
      name: "bannerEdit",
      meta: {
        title: "message.bannerEdit",
        i18n: true,
        showLink: false,
        realPath: "/banner/edit",
        refreshRedirect: "/banner/list"
      }
    }
  ]
};

export default userManageRouter;
